package com.example.blog.dao;


import com.example.blog.model.Article;
import com.example.blog.model.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentDAO extends JpaRepository<Comment, Integer> {

    List<Comment> findAllByArticle(Article article);
}
